package com.example.aidl;

import android.content.Context;
import android.widget.Toast;

import com.googlecode.androidannotations.annotations.EBean;
import com.googlecode.androidannotations.annotations.RootContext;

@EBean
public class People {
	@RootContext
	Context context;
	String name;
	int age;
	public void say()
	{
		Toast.makeText(context, "I'm "+name+" I "+age+" years old.", Toast.LENGTH_LONG).show();
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
}
